hysop.tools.sys_utils module

Tools related to global config.

class hysop.tools.sys_utils.SysUtils[source]

Bases: object

Global system check and other utilities

static cmd_exists(cmd)[source]

Returns True if cmd exists.

static in_ipython()[source]

True if current session is run under ipython

static is_interactive()[source]

True if run under interactive session, else False. Warning : return true in any case if ipython is used.